package cn.exrick.xboot.modules.transport.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @author gj
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "设置联系人参数")
public class WarehousesContactParam {

    @ApiModelProperty(value = "仓点id")
    @NotNull(message = "仓点id不能为空")
    private Long warehouseId;

    @ApiModelProperty(value = "联系人id")
    private Long contactId;

    @ApiModelProperty(value = "仓点联系人姓名")
    private String contactPersonName;

    @ApiModelProperty(value = "仓点联系人电话")
    private String contactPersonPhone;
}